export default {
  path: '/service/{app}/imp/dss',
  queryKey: ['code', 'name'],
  fields: [{
    code: 'code',
    type: 'code',
    name: '编码'
  }, {
    code: 'name',
    type: 'code',
    name: '名称'
  }, {
    code: 'sheet_name',
    type: 'code',
    name: 'sheet名称'
  }, {
    code: 'memo',
    type: 'memo',
    name: '备注'
  }, {
    code: 'status',
    type: 'state',
    rangeset: '3:未发布@5:已发布',
    render: {
      class_name: {
        5: 'text-success',
        3: 'text-gray'
      }
    },
    name: '状态'
  }],
  actions: [{
    name: '生成公式',
    type: 'expressionEdit',
    code: 'expressionEdit',
    locate: 'inline'
  }, {
    name: '权限分配',
    type: 'authorityPicker',
    code: 'authorityPicker',
    locate: 'inline'
  }]
}
